package com.tangkun.environment.entity.xinwen;


import com.tangkun.environment.entity.base.BaseModel;

import java.util.List;

/**
 * Created Time: 2017/3/18.
 * <p>
 * Author:tangkun
 * <p>
 * 功能：咨询列表 我提交的
 */
public class QuestionIndexReturn extends BaseModel {

    /**
     * data : {"totalRow":1,"pageNumber":1,"firstPage":true,"lastPage":true,"totalPage":1,"pageSize":20,"list":[{"answer":null,"answertime":null,"answeruserid":null,"answerusername":null,"content":"咨询内容","createtime":"2017-06-18 22:57:22","createuserid":"anonymous","createusername":null,"ids":"af23093bbd134cbc9ab2765ace823264","img":"/files/upload/question/20170618225718_0119.png,/files/upload/question/20170618225718_6555a.jpg","type":"82a3295351dd47d8b4fbd98ca4ef70c9"}]}
     */

    public DataBean data;

    public static class DataBean {
        /**
         * totalRow : 1
         * pageNumber : 1
         * firstPage : true
         * lastPage : true
         * totalPage : 1
         * pageSize : 20
         * list : [{"answer":null,"answertime":null,"answeruserid":null,"answerusername":null,"content":"咨询内容","createtime":"2017-06-18 22:57:22","createuserid":"anonymous","createusername":null,"ids":"af23093bbd134cbc9ab2765ace823264","img":"/files/upload/question/20170618225718_0119.png,/files/upload/question/20170618225718_6555a.jpg","type":"82a3295351dd47d8b4fbd98ca4ef70c9"}]
         */

        public int totalRow;
        public int pageNumber;
        public boolean firstPage;
        public boolean lastPage;
        public int totalPage;
        public int pageSize;
        public List<ListBean> list;

        public static class ListBean {
            /**
             * answer : null
             * answertime : null
             * answeruserid : null
             * answerusername : null
             * content : 咨询内容
             * createtime : 2017-06-18 22:57:22
             * createuserid : anonymous
             * createusername : null
             * ids : af23093bbd134cbc9ab2765ace823264
             * img : /files/upload/question/20170618225718_0119.png,/files/upload/question/20170618225718_6555a.jpg
             * type : 82a3295351dd47d8b4fbd98ca4ef70c9
             */

            public Object answer;
            public String answertime;
            public String answeruserid;
            public String answerusername;
            public String content;
            public String createtime;
            public String createuserid;
            public String createusername;
            public String ids;
            public String img;
            public String type;
        }
    }
}
